<!-- INCLUDE overall_header.html -->

<!-- IF CLUBS_LIST -->

<div class="topic-actions">
	<div class="buttons">
		<div><a href="{U_CREATE_CLUB}">{L_CREATE_CLUB}</a></div>
	</div>
</div>

<!-- BEGIN clubs -->
<div class="forumbg">
	<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
					<dt>{L_CLUB_NAME}</dt>
					<dd class="posts">{L_CLUB_DESC}</dd>
					<dd class="views">{L_CLUB_MEMBERS}</dd>
				</dl>
			</li>
		</ul>
		<ul class="topiclist forums">
			<li class="row<!-- IF clubs.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
				<dl class="icon" style="background-image: url({clubs.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
					<dt title="{clubs.CLUB_NAME}"><a href="{clubs.U_VIEW_CLUB}" class="topictitle">{clubs.CLUB_NAME}</a></dt>
					<dd class="posts">{clubs.CLUB_DESC} <dfn>{L_CLUB_DESC}</dfn></dd>
					<dd class="views">{clubs.NUM_MEMBERS} <dfn>{L_CLUB_MEMBERS}</dfn></dd>
				</dl>
			</li>
		</ul>
	<span class="corners-bottom"><span></span></span></div>
</div>

<!-- BEGINELSE -->
	<div class="panel">
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong>{L_NO_CLUBS}</strong>
		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- END clubs -->

<!-- ELSEIF not S_IS_BOT and CREATE_CLUB -->

<form method="post" action="{S_CLUB_ACTION}" id="register">

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<h2>{L_CLUB_REGISTRATION}</h2>

	<fieldset class="fields2">
		<!-- IF ERROR -->
			<dl><dd class="error">{ERROR}</dd></dl>
		<!-- ENDIF -->
		<dl>
			<dt><label for="username">{L_CLUB_NAME}:</label></dt>
			<dd><input type="text" tabindex="1" name="club_name" id="club_name" size="25" value="{CLUB_NAME}" class="inputbox autowidth" title="{L_CLUB_NAME}" /></dd>
		</dl>
		<dl>
			<dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt>
			<dd><input type="text" tabindex="2" name="email" id="email" size="25" maxlength="100" value="{EMAIL}" class="inputbox autowidth" title="{L_EMAIL_ADDRESS}" /></dd>
		</dl>
		<dl>
			<dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label></dt>
			<dd><input type="text" tabindex="3" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_EMAIL}" /></dd>
		</dl>
		<dl>
			<dt><label for="club_desc">{L_CLUB_DESC}:</label></dt>
			<dd><input type="text" tabindex="4" name="club_desc" id="club_desc" size="25" maxlength="255" value="{CLUB_DESC}" class="inputbox autowidth" title="{L_CLUB_DESC}" /></dd>
		</dl>
		<!-- IF S_ADMIN_VERIFICATION -->
		<dl>
			<dt><label for="club_reason">{L_CLUB_REASON}:</label><br /><span>{L_CLUB_REASON_EXPLAIN}</span></dt>
			<dd><textarea tabindex="5" name="club_reason" id="club_reason" rows="5" cols="30" value="{CLUB_REASON}" class="inputbox autowidth" title="{L_CLUB_REASON}" ></textarea></dd>
		</dl>
		<!-- ENDIF -->
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<fieldset class="submit-buttons">
		{S_HIDDEN_FIELDS}
		<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp;
		<input type="submit" name="submit" id ="submit" value="{L_SUBMIT}" class="button1" />
		{S_FORM_TOKEN}
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>
</form>

<!-- ELSEIF S_CLUB_INFO -->

<h2>{CLUB_PROFILE_TITLE}</h2>

<div class="panel bg1">
	<div class="inner"><span class="corners-top"><span></span></span>

	<!-- IF LOGO_IMG -->
		<dl class="left-box">
			<dt>{LOGO_IMG}</dt>
			<!-- IF RANK_TITLE --><dd style="text-align: center;">{RANK_TITLE}</dd><!-- ENDIF -->
			<!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF -->
		</dl>
	<!-- ENDIF -->

	<dl class="left-box details" style="width: 80%;">
		<dt>{L_CLUB_NAME}:</dt>
		<dd>
			<span>{CLUB_FOUNDER}</span>
			<!-- IF U_CLUB_ADMIN --> [ <a href="{U_CLUB_ADMIN}">{L_CLUB_ADMIN}</a> ]<!-- ENDIF -->
		</dd>
		<dt>{L_JOIN_LINK}:</dt><dd><a href="{U_CLUB_JOIN}">{L_CLUB_JOIN}</a></dd>
	</dl>

	<span class="corners-bottom"><span></span></span></div>
</div>

<div class="panel bg2">
	<div class="inner"><span class="corners-top"><span></span></span>
	<div class="column1">

		<h3>{L_CONTACT_CLUB} {CLUB_NAME}</h3>

		<dl class="details">
			<dt>{L_EMAIL_ADDRESS}:</dt> <dd><a href="{U_CLUB_EMAIL}">{L_SEND_EMAIL_USER} {CLUB_NAME}</a></dd>
			<!-- IF U_WWW --><dt>{L_WEBSITE}:</dt> <dd><a href="{U_WWW}" title="{L_VISIT_WEBSITE}: {U_WWW}">{U_WWW}</a></dd><!-- ENDIF -->
			<!-- IF U_PM --><dt>{L_CLUB_MESSAGE}:</dt> <dd><a href="{U_PM}">{L_SEND_CLUB_MESSAGE}</a></dd><!-- ENDIF -->
		</dl>
	</div>

	<div class="column2">
		<h3>{L_CLUB_STATS}</h3>
		<dl class="details">
			<dt>{L_CLUB_DATE}:</dt> <dd>{CREATED}</dd>
		</dl>
	</div>
	<span class="corners-bottom"><span></span></span></div>
</div>

<!-- IF CLUB_INFO -->
<div class="panel bg1">
	<div class="inner"><span class="corners-top"><span></span></span>

		<h3>{L_CLUB_INFO}</h3>

		<div class="postbody"><div class="signature" style="border-top:none; margin-top: 0;">{CLUB_INFO}</div></div>

	<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->

<!-- ELSEIF S_CLUB_JOIN -->

<form method="post" action="{S_JOIN_ACTION}" id="register">

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<h2>{S_JOIN_CLUB}</h2>

	<fieldset class="fields2">
		<!-- IF ERROR -->
			<dl><dd class="error">{ERROR}</dd></dl>
		<!-- ENDIF -->
		<dl>
			<dt><label for="join_reason">{L_JOIN_REASON}:</label><br /><span>{L_JOIN_REASON_EXPLAIN}</span></dt>
			<dd><textarea tabindex="5" name="join_reason" id="join_reason" rows="5" cols="30" value="{JOIN_REASON}" class="inputbox autowidth" title="{L_JOIN_REASON}" ></textarea></dd>
		</dl>
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<fieldset class="submit-buttons">
		{S_HIDDEN_FIELDS}
		<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp;
		<input type="submit" name="submit" id ="submit" value="{L_SUBMIT}" class="button1" />
		{S_FORM_TOKEN}
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>
</form>

<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->